package org.dtrd.modules.shop.entity.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.dtrd.common.api.dto.BasePageRequest;
import org.springframework.validation.annotation.Validated;

import javax.validation.constraints.NotNull;

/**
 * @author sun
 * @since 2022-07-23
 */
@Getter
@Setter
@ApiModel(value = "分页请求")
public class ProductPageRequest extends BasePageRequest{

    @ApiModelProperty(value = "商品分类", required = true)
    private Integer productCategory;

    @NotNull
    @ApiModelProperty(value = "机构", required = true)
    private String orgCode;
}
